package com.jxd.project.travel.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jxd.project.travel.model.Emp;
import com.jxd.project.travel.model.Travel;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface IEmpDao extends BaseMapper<Emp> {

    //查询所有同部门员工的差旅信息
    List<Travel> getTravelListByEmpno(@Param("pageStart") int pageStart, @Param("pageSize") int pageSize, @Param("deptno") int deptno);
}
